home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Misc / InstallerNG / developer / gui / example / igui_NotifyModuleAction.c < prev    next >
C/C++ Source or Header  |  2000-01-01  |  879b  |  50 lines

  1.  
  2. #include "includes.h"
  3. #include "installergui_data.h"
  4.  
  5. /********************************************************************
  6.  *
  7.  *  DESCRIPTION
  8.  *
  9.  *  IN:  
  10.  *  OUT: 
  11.  *
  12.  */
  13.  
  14. /********************************************************************
  15.  *
  16.  *  STATIC
  17.  *
  18.  */
  19.  
  20. /********************************************************************
  21.  *
  22.  *  EXTERN
  23.  *
  24.  */
  25.  
  26. /********************************************************************
  27.  *
  28.  *  PUBLIC
  29.  *
  30.  */
  31.  
  32. /********************************************************************
  33.  *
  34.  *  CODE
  35.  *
  36.  */
  37.  
  38. void __asm igui_NotifyModuleAction(register __a0 APTR application, register __a1 char *modulename)
  39. {
  40.   char *modname = modulename,
  41.        *wintitle = sav_StringF("Performing action on module '%s'", &modname);
  42.         
  43.   if (wintitle)
  44.   {
  45.     set(((struct Application *) application)->app_MainWindow, MUIA_Window_Title, wintitle);
  46.   }
  47. }
  48.  
  49.  
  50.